html,
body {
    width: 100%;
    height: auto;
    overflow-y: scroll;
    position: relative;
    margin: 0;
    padding: 0;
}

.contain {
    min-height: 100%;
}


.grade {
    margin-left: 5%;
    margin-top: 20px;
}

.class {
    margin-left: 250px;
    margin-top: -61px;
}


.video_name {
    color: #999;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 10px;
}

.video {
    margin-top: 10px;
    margin-left: 5%;
    width: 90%;
    height: auto;
    border-radius: 5px;
}


.content .name {
    float: left;
    position: absolute;
    margin-left: 40px;
    margin-top: 20px;
    z-index: 999999;
    color: white;
    font-size: 24px;
}



#modal-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999999999;
    background-color: rgba(62, 62, 62, 0.5);
}

.modal-data {
    width: 80%;
    margin-top: 45%;
    margin-left: 10%;
    background-color: white;
    border-radius: 12px;
    height: auto;
}

#code {
    width: 70%;
    height: 40px;
    font-size: 16px;
    margin-top: 20px;
    border: solid 1px #999;
    border-radius: 5px;
}

#modal-overlay2 {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999999999;
    background-color: rgba(62, 62, 62, 0.5);

}

.modal-data2 {
    width: 80%;
    margin-top: 45%;
    margin-left: 10%;
    background-color: white;
    border-radius: 12px;
    height: auto;
}

.modal-title2 {
    padding-top: 50px;
}

.go_center {
    width: 44%;
    height: 40px;
    background: #40b9e3;
    text-align: center;
    line-height: 40px;
    border-radius: 5px;
    margin-left: 4%;
    margin-bottom: 10px;
    color: #fff;
}

.class_time {
    text-align: center;
    line-height: 40px;
    width: 100%;
    margin: auto;
    height: 40px;
}

.button_bottom {
    display: flex;
}

.model_later {
    width: 20%;
    height: 40px;
    text-align: left;
    line-height: 40px;
    border-radius: 5px;
    margin-left: 4%;
    margin-bottom: 10px;
    display: inline-block;
}

.model_title {
    width: 100%;
    text-align: center;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
    font-weight: bold;
    color: #e02d30;
    border: solid 1px #999;
}

.model_notice {
    width: 92%;
    margin-left: 5%;
    margin-bottom: 10px;
    font-size: 14px;
    color: #e02d30;
}